<!-- 新增结算成功页面 checkout-success.html -->
<!DOCTYPE html>
<html>
<head>
    <title>结算成功</title>
    <link rel="stylesheet" href="Style.css">
</head>
<body>
    <div class="container">
        <h1><i class="fa fa-check-circle"></i> 支付成功！</h1>
        <div id="success-content"></div>
        <button onclick="window.location.href='Cart.html'">返回首页</button>
    </div>
    <script>
        // 显示结算详细信息
        const params = new URLSearchParams(window.location.search)
        document.getElementById('success-content').innerHTML = params.get('data')
    </script>
</body>
</html>